<%@ page language="Java" import="java.util.*,descriptor.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%
	AcademicSupDescriptor academicSup = (AcademicSupDescriptor)request.getAttribute("academicSup");
	StudentDescriptor student = (StudentDescriptor)request.getAttribute("student");
	FeedbackDescriptor feedback = (FeedbackDescriptor)request.getAttribute("feedback");
	if(academicSup == null){
		response.sendRedirect("index.jsp");
	}

%>
<html>
	<jsp:include page="academicSupervisorHeader.jsp" >
		<jsp:param name="pageTitle" value="Work Placement Management System - Academic Supervisor" />
	</jsp:include>
	<body OnLoad="showmenu(document.getElementById('smenu2'));">
		<jsp:include page="academicSupervisorPageHeader.jsp"></jsp:include>
		<div id="container">
			<jsp:include page="academicSupMenu.jsp" ></jsp:include>
			<div id="content">
			<h3 class="posttitle"><%=feedback.getName()%></h3>
				<div class="entry">
				
<br/><br/>
Student : <%=student.getFirstName()%> <%=student.getSurName()%><br/>
<br/>
<form action="AcademicSupServlet?page=academicSupervisorEditReportDone&amp;userId=<%=student.getId()%>" method="POST">
Feedback content : <br/>
<textarea name="feedback" rows="20" cols="50"><%=feedback.getInfos()%>
</textarea><br/><br/>
<button type="submit">Send</button>
</form>
				</div>
	    	</div>
			<jsp:include page="academicSupervisorPageFooter.jsp"></jsp:include>
		</div>
	</body>
</html>